package com.yanqu.road.entity.activity.xiuxian.data;

import java.io.Serializable;

public class XiuXianBattleCacheData implements Serializable {
    private int id;             // 序号
    private long hp;             // 血量
    private int anger;          // 怒气值
    private int atkTime;        // 攻击时间
    private int lastCalcAngerTime;       // 上一次恢复怒气时间

    public XiuXianBattleCacheData(int id, long hp, int anger, int atkTime, int lastCalcAngerTime) {
        this.id = id;
        this.hp = hp;
        this.anger = anger;
        this.atkTime = atkTime;
        this.lastCalcAngerTime = lastCalcAngerTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getHp() {
        return hp;
    }

    public void setHp(long hp) {
        this.hp = hp;
    }

    public int getAnger() {
        return anger;
    }

    public void setAnger(int anger) {
        this.anger = anger;
    }

    public int getAtkTime() {
        return atkTime;
    }

    public void setAtkTime(int atkTime) {
        this.atkTime = atkTime;
    }

    public int getLastCalcAngerTime() {
        return lastCalcAngerTime;
    }

    public void setLastCalcAngerTime(int lastCalcAngerTime) {
        this.lastCalcAngerTime = lastCalcAngerTime;
    }
}
